import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'

import '@/ck/plugin/index' //导入插件
import '@/ck/directive/index' //导入自定义指令
import StickyTop from '@/components/base/sticky-top/sticky-top'

import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
Vue.use(VXETable)

import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/style/index.scss' // 适配和公用css
//挂载事件总线
Vue.prototype.$bus = new Vue({})


Vue.config.productionTip = false
Vue.use(ElementUI)
// base 组件注册
Vue.component('sticky-top', StickyTop)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
